package com.kevin.v2.spring.formework.webmvc.servlet;

import lombok.Data;

import java.util.Map;

@Data
public class ModelAndView {
   //要渲染的页面
   private String view;
   //要渲染的数据
   private Map<String,?> model;

   public ModelAndView (Object view) {

   }

   public ModelAndView (String view, Map<String, ?> model) {
      this.view = view;
      this.model = model;
   }
}
